#ifndef PHOTON_H_INCLUDED
#define PHOTON_H_INCLUDED

#include "vector.h"

class Photon {
public:
    Photon( void ) { }
    Photon( Vector &, Vector &, float );
    void advance( float step ) { position += direction * velocity * step; }
private:
    float energy, velocity;
    long timeToLive;
    Vector position, direction;
};

#endif // PHOTON_H_INCLUDED
